package com.younion.vo;

import com.younion.common.base.BaseVO;

/**
 * 
 * 描述: 优惠券类别表 实体类
 *
 * @property label="优惠券类别表" lower="favourabletype" upper="FAVOURABLETYPE" instance="favourableType" table="t_Favourable_Type"
 *
 * Copyright (c) 2009 Excellence Network Co.,LTD All right reserved.
 *
 */
public class FavourableTypeVO extends BaseVO implements Cloneable{

	/**  */
	private static final long serialVersionUID = -1L;

	/**
	 * 优惠券类别编码
	 * @label 优惠券类别编码
	 * @code id
	 * @type NUMERIC
	 * @javaType Integer
	 * @pk instance="Id"
	 * @required true
	 * @index 1
	 * @oddeven 0
	 */
	private Integer id;

	/**
	 * 优惠券类别名称
	 * @label 优惠券类别名称
	 * @code favourable_type
	 * @type VARCHAR
	 * @javaType String
	 * @show 
	 * @isLast 
	 * @length 10
	 * @required true
	 * @index 2
	 * @oddeven 1
	 * @faint 
	 */
	private String favourableType;
	
	private CustomerVO customer;
	private Integer customerId;
	private String customerName;

	/**
	 * 
	 */
	public FavourableTypeVO() {
	}

	/** 
	 * @return the id
	 */ 
	public Integer getId() {
		return id;
	}

	/** 
	 * @param id the id to set 
	 */ 
	public void setId(Integer id) {
		this.id = id;
	}

	/** 
	 * @return the favourableType
	 */ 
	public String getFavourableType() {
		return favourableType;
	}

	/** 
	 * @param favourableType the favourableType to set 
	 */ 
	public void setFavourableType(String favourableType) {
		this.favourableType = favourableType;
	}

	public CustomerVO getCustomer() {
		return customer;
	}

	public void setCustomer(CustomerVO customer) {
		this.customer = customer;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	
}
